package com.zyht.website.shiro;
/**
 * 用户枚举类
 * @author InkYi
 *
 */
public enum UserEnum {
	
	STATUS_DISABLE("禁用","0"),STATUS_ENABLE("可用","1"),PWD_INTERVAL("密码修改间隔","90"),PWD_ERROR_TIMES("密码错误次数","5");
	
	private String name;
	
	private String value;
	
	private UserEnum(String name, String value) {
		this.name = name;
		this.value = value;
	}
	public String getName() {
		return name;
	}
	public String getValue() {
		return value;
	}
	public Integer getInteger(){
		return Integer.valueOf(value);
	}
	
}
